export default {
  namespaced: true, // 开启命名空间
  state: {
    menusList: []

  },
  mutations: {
    // 跟新menus 将动态路由储存到vuex中调用
    updateMenus(state, AsyncRoutes) {
      state.menusList = AsyncRoutes
    }

  }
}
